#ifndef H_EQVDIALOG
#define H_EQVDIALOG
#include "precompiled.h"
#include "character.h"
#include "ui_eqvdialog.h"
namespace weo
{
    namespace ui
    {
        class EQVDialog : public QDialog, protected Ui_EQVDialog
        {
            Q_OBJECT
        private:
            std::vector<std::string> m_Attributes;
            weo::engine::character::Character *m_Character;
            weo::engine::character::Equipment m_Equip;
        public:
            EQVDialog(QWidget* parent = 0, Qt::WFlags flags = 0);
            void setAttributes(const std::vector<std::string>& value, unsigned int start = 0, unsigned int stop = 0);
            void setCharacter(weo::engine::character::Character* character) {m_Character = character;};
            void setEquipment(const weo::engine::character::Equipment& equip) {m_Equip = equip;};
            void calcEQV();
        };
    };
};
#endif